package com.buba.system.dao;

import com.buba.system.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface EmployeeMapper {

    Employee selEmployee(String employeeId);

    long selEmpCount(Map<String, Object> map);

    List<Employee> selEmp(Map<String, Object> map);


    Integer addEmp(Employee employee);

    Integer addEmpjob(Map<String, Object> map);

    Integer delEmp(String employeeId);

    Integer delEmpAll(List<String> list);

    Integer updEmp(Map<String, Object> map);

    List<Employee> selEmpTitle(String employeeId);
}
